﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 工厂模式
{
    /// <summary>
    /// 定义工厂的工作模式
    /// </summary>
    public interface IShape
    {
        void draw();
    }

    abstract class Shape
    {
        public abstract double draw(double money);
    }
}
